home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
1994.11.gz
/
1994.11
/
000147_blair@olympia.gps.caltech.edu_Wed Nov 23 03:37:37 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-11-30
|
2KB
Received: from olympia.gps.caltech.edu by cs.umb.edu with SMTP id AA29856
(5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 23 Nov 1994 14:37:40 -0500
Received: (from blair@localhost) by olympia.gps.caltech.edu (8.6.9/8.6.9) id LAA01325 for tex-k@cs.umb.edu; Wed, 23 Nov 1994 11:37:37 -0800
Date: Wed, 23 Nov 1994 11:37:37 -0800
From: Blair Zajac <blair@olympia.gps.caltech.edu>
Message-Id: <199411231937.LAA01325@olympia.gps.caltech.edu>
To: tex-k@cs.umb.edu
Subject: Linking Xdvi with libdps on Solaris
Content-Length: 1107
I just read a posting by Casper Dik, the one who knows all, about linking
against the DPS library (libdps) on Solaris. The problem is that Sun
compiles its DPS library using their own compilers, and the resulting
library needs the isinf() function, which isn't supplied in any system
library. This function only comes with the SparcCompilers. However,
here is a solution to this problem.
5.3) Why do I get isinf undefined when linking with libdps?
That's a bug in libdps. Sun compiles and links its software
with its own compilers. The isinf() function is shipped with
the SunPRO compilers, but not defined in any Solaris 2.x library.
A workaround exists, and consists of adding the following to
your program:
#include <ieeefp.h>
int isinf(double x) { return !finite(x) && x==x; }
I don't know of a specific test for the Sun's compilers, so there's not
an easy way to decide if the compiler being used would supply this
function. We could use instead a test for gcc. Or maybe just have
any compilation of xdvi on a Solaris box with DPS compile this code.
Blair